package cn.exrick.xboot.modules.Information.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author Lyg
 */
@Data
@Entity
@Table(name = "t_cross_check")
@TableName("t_cross_check")
@ApiModel(value = "断面考核")
public class CrossCheck extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "水质得分")
    private String waterQuality;

    @ApiModelProperty(value = "所属区域")
    private String withDepartment;

    @ApiModelProperty(value = "所属河流")
    private String riverId;

    @ApiModelProperty(value = "断面编号")
    private String crossNum;

    @ApiModelProperty(value = "断面位置")
    private String crossPlace;

    @ApiModelProperty(value = "水质标准化学需氧量(mg/L)")
    private String standardCod;

    @ApiModelProperty(value = "水质标准氨氮(mg/L)")
    private String standardNh3;

    @ApiModelProperty(value = "水质标准总磷(mg/L)")
    private String standardTp;

    @ApiModelProperty(value = "检测结果化学需氧量(mg/L)")
    private String resultCod;

    @ApiModelProperty(value = "检测结果氨氮(mg/L)")
    private String resultNh3;

    @ApiModelProperty(value = "检测结果总磷(mg/L)")
    private String resultTp;

    @ApiModelProperty(value = "是否合格")
    private String qualified;

    @ApiModelProperty(value = "是否已经考核(1未考核2已考核)")
    private String  sta = "1";

    @Transient
    @TableField(exist = false)
    @ApiModelProperty(value = "所属河流名称")
    private String riverName;

    @Transient
    @TableField(exist = false)
    @ApiModelProperty(value = "所属区域名称")
    private String withDepartmentName;

    @Transient
    @TableField(exist = false)
    @ApiModelProperty(value = "单元格合并列数")
    private Integer mergeTable;
}